import Request from "../../../../utils/request.js";
export default class {
  static getBeginList(params) {
    return Request({
      url: "app/bid/timeSegmentBidList",
      type: "POST",
      data: params,
      headers: {
        "Content-type": "application/json"
      },
    })
  }
  static getNotBeginList(params) {
    return Request({
      url: "app/bid/timeSegmentPreBidList",
      type: "POST",
      data: params,
      headers: {
        "Content-type": "application/json"
      },
    })
  }
  static getEndBeginList(params) {
    return Request({
      url: "app/bid/timeSegmentEndBidList",
      type: "POST",
      data: params,
      headers: {
        "Content-type": "application/json"
      },
    })
  }
  static activityDetail(params) {
    return Request({
      url: `app/seckillActivity/detail`,
      type: "POST",
      data: params
    })
  }
  static favoriteCreate(params) {
    return Request({
      url: `app/favorite/follow`,
      type: "GET",
      data: params,
      headers: {
        "Content-type": "application/x-www-form-urlencoded"
      },
    })
  }
} 